body {
  background-color: white;
  color: black;
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  font-size: 8pt;
}

h1 {
  font-size: 10pt;
}

img {
  border: 0;
}

form th {
  text-align: right;
  vertical-align: top;
}

label {
  font-weight: bold;
}

pre {
  font-size: 10pt;
}

span.draftlabel {
  color: #008000;
}

table td.label {
  text-align: right;
}

ul.errorlist {
  background: #fff6a6;
  border: 1px #9F9656 solid;
  display: inline;
  margin: 0 0 0 15px;
  padding: 4px 8px;
}

ul.errorlist li {
  display: inline;
}


/****************************************************************************
 * Banners
 ****************************************************************************/
.banner {
  background: #cdff9c;
  border: 1px #4e9a06 solid;
  margin-bottom: 10px;
  padding: 8px 10px;
}

.banner h1 {
  display: inline;
  margin-right: 0.2em;
  padding: 0;
}

.banner input {
  margin-left: 10px;
}


/****************************************************************************
 * Box classes
 ****************************************************************************/
.box {
  background-image: url('../images/box_top_bg.png');
  background-position: top left;
  background-repeat: repeat-x;
  border: 1px #888A85 solid;
}

.box.important {
  background-color: #fdf2a0;
  background-image: url('../images/gold_box_top_bg.png');
  border: 1px #b7a93e solid;
  padding: 0px 10px;
}

.box.important .box-inner {
  background: url("../images/important.png") no-repeat top left;
  padding: 0 0 0 50px;
}

.box.yay {
  background-color: #fdf2a0;
  background-image: url('../images/gold_box_top_bg.png');
  border: 1px #b7a93e solid;
  padding: 0px 10px;
}

.box.yay .box-inner {
  background: transparent;
}

.box.yay h1 {
  padding-left: 0;
}

.box.yay img {
  float: left;
  left: -5px;
  margin: 0;
  padding: 0;
  position: relative;
  top: -23px;
}

.box .star {
  cursor: pointer;
}

.box h1.title {
  background: #a2bedc url('../images/title_box_top_bg.png') repeat-x top left;
  border-bottom: 1px #728eac solid;
  margin: 0;
  padding: 5px 10px 5px 5px;
}

.box h1.title {
  font-size: 120%;
}

.box .main {
  padding: 5px;
}

.box-container {
  border: 1px #DCDCDC solid;
  margin-bottom: 10px;
  width: 100%;
}

.box-inner {
  background-image: url('../images/box_bottom_bg.png');
  background-position: bottom left;
  background-repeat: repeat-x;
  padding-bottom: 1px; /* IE wants this and it does no harm. */
}

.box-inner form {
  margin: 0;
}

.datagrid-title,
.datagrid-titlebox {
  background: #a2bedc url('../images/title_box_top_bg.png') repeat-x top left;
}


/****************************************************************************
 * Inline editor forms
 ****************************************************************************/
.editicon {
  cursor: pointer;
  margin-left: 4px;
  vertical-align: bottom;
}

.inline-editor-form {
  display: block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.inline-editor-form input[type="submit"] {
  margin-left: 5px;
}

.inline-editor-form input[type="text"] {
  border: 1px #888a85 solid;
  padding: 1px 2px;
}

.inline-editor-form textarea {
  border: 1px #888a85 solid;
  font-size: 10pt;
  margin: 5px 0 0 0;
  padding: 10px;
}

.loading-indicator {
  display: inline;
}


/****************************************************************************
 * Forms
 ****************************************************************************/
form table td {
  padding: 4px;
}

.formdlg .error {
  background-color: #FFF6A6;
  border: 1px #9F9656 solid;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 4px 8px;
}

.formdlg ul.errorlist {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.formdlg .errorlist li {
  display: list-item;
  padding: 2px 4px;
}

.formdlg .spinner {
  float: left;
}

.formdlg .spinner img {
  vertical-align: top;
}

.formdlg .spinner h1 {
  display: inline;
  margin-left: 10px;
}


/****************************************************************************
 * Account page
 ****************************************************************************/
.prefsbuttons {
  padding: 8px;
  background-color: #B6CCE3;
  border: 1px #3465A4 solid;
}

.prefsgroup ul {
  list-style: none;
  padding-left: 0;
  margin: 5px;
}

.section {
  margin-bottom: 20px;
}

.section .title {
  background: #DDDDDD;
  border: 1px black solid;
  padding: 4px 8px;
}

.section .body {
  margin-left: 20px;
  padding: 10px;
}

#accountnav {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 10px;
}

#accountnav li {
  display: inline;
}

#beta {
  color: #808080;
  display: inline;
  font-size: 12pt;
  font-weight: normal;
}

#error div {
  background: #ffcd9c;
  border: 1px #9a4306 solid;
  margin-bottom: 10px;
  padding: 8px 10px;
}

#error h1 {
  display: inline;
  margin: 0;
  padding: 0;
}

#error input[type='submit'] {
  margin-left: 10px;
}

#headerbar {
  margin-bottom: 8px;
}

#navbar-outer {
  border: 1px #E0E0E0 solid;
  margin: 10px 0;
  width: 100%;
}

#navbar {
  background-color: #C6DCF3;
  border: 1px #3465A4 solid;
  list-style: none;
  margin: 0;
  padding: 9px 6px;
}

#navbar li {
  display: inline;
  height: 30px;
  margin-right: 14px;
}

#navbar a {
  color: #0000AA;
  font-size: 110%;
  font-weight: bold;
  text-decoration: none;
}

#searchbar {
  position: absolute;
  right: 0;
  margin-top: -3px;
}

#navbar .newreviewrequest {
  text-align: right;
}

#title {
  display: inline;
  font-size: 24pt;
  font-weight: normal;
}

#title a {
  color: black;
  text-decoration: none;
}

/*
 * clearfix hack. See http://www.webtoolkit.info/css-clearfix.html
 */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}
